package Testing;

import Model.Majalah;

public class TestMajalah {
public static void main (String args[]){
    Majalah test1 = new Majalah();
    test1.setIdkoleksi("Kom1002");
    test1.setJudul("Pemrograman Berorientasi Obyek");
    test1.setPenulis("Ir. Parwito");
    test1.setPenerbit(" Erlangga");
    test1.setIssn("2341gv687");
    System.out.println("Id Koleksi = "+test1.getIdkoleksi());
    System.out.println("Judul = "+test1.getJudul());
    System.out.println("Penulis = "+test1.getPenulis());
    System.out.println("Penerbit = "+test1.getPenerbit());
    System.out.println("ISSN = "+test1.getIssn());
    System.out.println("Terlambat = "+test1.isTerlambat(7));
    System.out.println("Denda = "+test1.hitungDenda(20));
    }}

